package com.yuebu.yuebubtlib.bean;

import java.io.Serializable;

/**
 * 设备时间类
 */
public class DeviceTimeBean implements Serializable {
    //返回的时间戳
    private long deviceTime;
    //1-7代表周一到周天
    private int week;

    public DeviceTimeBean(long deviceTime, int week) {
        this.deviceTime = deviceTime;
        this.week = week;
    }

    public DeviceTimeBean() {
    }

    public long getDeviceTime() {
        return deviceTime;
    }

    public void setDeviceTime(long deviceTime) {
        this.deviceTime = deviceTime;
    }

    public int getWeek() {
        return week;
    }

    public void setWeek(int week) {
        this.week = week;
    }

    @Override
    public String toString() {
        return "DeviceTimeBean{" +
                "deviceTime=" + deviceTime +
                ", week=" + week +
                '}';
    }
}
